package org.example.gradleauth.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Builder
@Schema(description = "登录成功后token结果")
public class TokenVo {

    @Schema(description = "accessToken")
    private String accessToken;

    @Schema(description = "accessToken 有效时间")
    private LocalDateTime accessTokenExpiresAt;

    @Schema(description = "refreshToken")
    private String refreshToken;

    @Schema(description = "refreshToken 有效时间")
    private LocalDateTime refreshTokenExpiresAt;

}
